package zzu.mxd.answer.service;

import zzu.mxd.answer.vo.AnswerResult;
import zzu.mxd.answer.entity.Exercises;
import com.baomidou.mybatisplus.extension.service.IService;
import zzu.mxd.answer.vo.ExercisesVO;

import java.util.List;

/**
 * <p>
 * 题目表 服务类
 * </p>
 *
 * @author mxd
 * @since 2018-11-08
 */
public interface IExercisesService extends IService<Exercises> {

    AnswerResult answerQuestion(List<ExercisesVO> exercisesVOList, String id) throws Exception;

    List<Exercises> selectAll();
    List<Exercises>  getRandomExercises(int cout,int subjectId) throws Exception;
}
